package tw.com.diary.db.util;

import java.util.ArrayList;
import java.util.List;

public class JobPool {

	final static List<Jobean> jobs;
	static {
		jobs = new ArrayList<Jobean>();
	}

	/**
	 * 加入job 清單
	 * @param context
	 * @param jobBean
	 */
	public static synchronized void addJob(JobContext jobContext, Jobean jobBean) {
		jobs.add(jobBean);
		
	}

	private JobPool() {

	}
}
